package com.zzyl.member.mapper;

import com.baomidou.mybatisplus.core.mapper.BaseMapper;
import com.zzyl.member.domain.FamilyRelation;
import org.apache.ibatis.annotations.Mapper;

import java.util.List;

@Mapper
public interface FamilyRelationMapper extends BaseMapper<FamilyRelation> {


    /**
     * 根据familyMemberId查询关系
     * @param familyMemberId
     * @return
     */
    List<FamilyRelation> selectFamilyRelation(Long familyMemberId);


    /**
     * 保存关系
     * @param familyRelation
     */
    void save(FamilyRelation familyRelation);
}
